import http from '../utils/request'
import {AxiosResponse} from 'axios'
interface Iadmin{
    (departmentid:string):Promise<AxiosResponse<any>>
  }
const count:Iadmin = (departmentid?:string):Promise<AxiosResponse<any>> => {
    return http.get('/visituser/statistics', {departmentid})
  }

export default {
    count
}